package com.zmzncs.lmtc.module.shop.dao;

import com.zmzncs.lmtc.module.shop.pojo.shop_info.ShopInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.shop.pojo.shop_info.ShopInfoDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 商户-信息 Mapper 接口
 * </p>
 *
 * @author 高博文
 * @since 2021-05-20
 */
@Repository
public interface ShopInfoMapper extends BaseMapper<ShopInfo> {
    /**获取附近商家列表*/
    List<ShopInfoDTO> getNearShopInfo(@Param("longitude") String longitude, @Param("latitude") String latitude);

}
